<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html >
    <head>
        <meta name="description" content="Base64 encoding tutorial based on examples" />        
        <meta name="keywords" content="remka,encoding tutorial,encoding examples" />        
        <meta name="robots" content="index,follow" />         
        <meta name="google-site-verification" content="_b9XoDjuHuD83JHEdxy0V5zcD2Xs1vJ_kqzDiN6ybj4" />        
        <title>Remka Encoding Web Application - Base 64</title>
        <link href="<c:url value="/css/style.css" />" rel="stylesheet" type="text/css" />
<script type="text/javascript">
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-55917358-1', 'auto');
  ga('send', 'pageview');

</script>        
    </head>
    <body>
        <span itemscope itemtype="http://schema.org/Article"><header>
                <hgroup>
                    <h1>Web application for encoding decoding</h1>
                    <h1>of different set of characters</h1>
                    <h2>Part of 
                        <span itemprop="author" itemscope itemtype="http://schema.org/Person">
                            <span itemprop="name">Remka</span> </span>tutorials</h2>
                </hgroup>            
                <a href="#" title="Ampersand Solutions homepage"><img itemprop="image" src="images/logo.png" alt="Ampersand Solutions" /></a></header>
            <article>
                <h1 itemprop="name" style="font-size: ">Encoding / Decoding Base64</h1>
                <form:form modelAttribute="encodingForm" method="POST" action="base64.htm">
                    <label>Input Text</label>
                    <br/>
                    <form:textarea path="userInput" />
                    <br/>
                    <br/>
                    <input type="submit" name="action" value="encode"/>
                    <input type="submit" name="action" value="decode"/>
                    <form:select path="encoding" items="${encodings}" />
                    <br/>
                    <br/>
                    <label>Result:</label>
                    <br/>
                    <form:textarea path="generatedOutput" /> 
                    <br/>
                    <h1 itemprop="articleSection" style="font-size: ">About Base64</h1>
                    <label itemprop="articleBody">Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.

                        Base64 encoding schemes are commonly used when there is a need to encode binary data that needs to be stored and transferred over media that are designed to deal with textual data. This is to ensure that the data remains intact without modification during transport. Base64 is commonly used in a number of applications including email via MIME, and storing complex data in XML.</label>                
                    </form:form>
            </article>
            <section>
                <h1>Types</h1>
                <ul>
                    <li><a href="/base64.htm" >Base64</a></li>
                    <li><a href="/html.htm" >HTML</a></li>
                    <li> <a href="/url.htm" >URL</a></li>

                </ul>
            </section>
            <footer>
                <p>  	
                    Remka |  November 2014
                    <br/>
                </p>
            </footer></span>
    </body>
</html>
